const express = require('express');
const router = express.Router();

router.get('/', (req, res) => {
    res.send('about')
})
// 这里可以继续添加路由，如
/* router.get('/swiper', (req, res) => {
    res.send('about swiper')
}) 


router.get('/news/:id', (req, res) => {
    console.log(req.params.id);
    res.send('about news')
})

*/


module.exports = router;